<?php 
$html_items = array();
$prev_item = false;
foreach ($this->get_data('menu_items') as $item) {
    //$href = ($prev_item) ? $prev_item['url_segment'] . '/' . $item['url_segment'] : $item['url_segment'];
    $href = $item['url_segment'];
    $href = tos_url($href);
    $html_items[] = '<a href="' . $href . '">'. $item['caption'] . '</a>';
    $prev_item = $item;
}
echo implode(' - ', $html_items);
?>